<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <!-- <script type="module" src="./js/3.js"></script> -->
    <script type="module">
        // 导入
        // import './js/3.js';
        // let {username,age} = {username:'jack',age:20}
        import { username, age } from './js/3.js';
        console.log(username, age);
    </script>
</body>

</html>